package Inherit;

public class Square extends Rectangle{
	public Square() {

	}

	public Square(double side) {
		super(side,side);
	}

	public Square(double side, String color, boolean filled) {
		super(side, side, color,filled);
	}

	public double getSide() {
		return getLength();

	}

	public void setSide(double side) {
		super.setLength(side);
		super.setWidth(side);
	}
	public void setlength(double side){
		
	}
	public String toString(){
		return null;
		
	}
}
